package edu.zju.gis.dbfg.server.task;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

@Component
public class MonitorTasks {
    @Async("taskExecutor")
    public void execute(Runnable runnable) {
        runnable.run();
    }
}
